package org.jeecg.modules.friends.enums;

/**
 * @author cold
 * @data 2024/6/21 21:41
 * @version 1.0
 */
public enum YouzanPushEnum {
    trade_TradeCreate("trade_TradeCreate"),
    ;
    YouzanPushEnum(String code) {
        this.code = code;
    }
    public YouzanPushEnum of(String code) {
        for (YouzanPushEnum value : YouzanPushEnum.values()) {
            if (value.getCode() == code) {
                return value;
            }
        }
        return null;
    }
    private String code;

    private String getCode() {
        return code;
    }

}
